package com.woniuxy.commons.entity.purchaseManager;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.woniuxy.commons.entity.purchaseManager.base.PurchaseBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 提交需求(Need)实体类
 *
 * @author makejava
 * @since 2022-04-18 20:08:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("need")
public class NeedEntity extends PurchaseBaseEntity implements Cloneable {

    /**
     * 需求单id
     */
    @ExcelProperty("序号")
    @TableId(type = IdType.AUTO)
    @ExcelIgnore
    private Integer needId;
    /**
     * 单号
     */
    @ExcelProperty("单号")
    @TableField("odd_number")
    private String oddNumber;
    /**
     * 客户
     */
    @ExcelProperty("客户")
    @TableField("client")
    private String client;
    /**
     * 部门
     */
    @ExcelProperty("部门")
    @TableField("dep")
    private String dep;
    /**
     * 重量
     */
    @ExcelProperty("重量")
    @TableField("weight")
    private Double weight;
    /**
     * 数量
     */
    @ExcelProperty("数量")
    @TableField("amount")
    private Integer amount;
    /**
     * 来货重量
     */
    @ExcelProperty("来货重量")
    @TableField("goods_weight")
    private Double goodsWeight;
    /**
     * 来货数量
     */
    @ExcelProperty("来货数量")
    @TableField("goods_amount")
    private Integer goodsAmount;
    /**
     * 产品线
     */
    @ExcelIgnore
    @TableField("product_line")
    private String productLine;
    /**
     * 仓库
     */
    @ExcelIgnore
    @TableField("warehouse")
    private String warehouse;


    @ExcelProperty("制单人")
    @TableField("single")
    private String single;
    /**
     * 审核人
     */
    @ExcelIgnore
    @TableField("audit")
    private String audit;
    /**
     * 成色
     */
    @ExcelIgnore
    @TableField("condition_")
    private String condition;
    /**
     * 状态（默认为0）
     */
    @ExcelProperty("状态")
    @TableField("status")
    private Integer status;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}

